package com.ruoyi.system.domain.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author GE-LV5
 * @create 2023/2/27 15:16
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("upload")
public class Upload implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "id")
    @Excel(name = "序号")
    private Long id;


    @ApiModelProperty(value = "文件名称")
    @Excel(name = "文件名称")
    private String fileName;

    @ApiModelProperty(value = "文件路径")
    @Excel(name = "文件路径")
    private String url;


    @ApiModelProperty(value = "绑定的id")
    @Excel(name = "绑定的id")
    private Long mateId;


}
